﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartHotel.Model
{
    public class HotelInfo
    {
        [Key]
        public int Id {  get; set; }
        /// <summary>
        /// 酒店名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 酒店简介
        /// </summary>
        public string Describe {  get; set; }
        /// <summary>
        /// 经纬度-经度
        /// </summary>
        public string PointX { get; set; }
        /// <summary>
        /// 经纬度-维度
        /// </summary>
        public string PointY { get; set; }

        public string ImgUrl {  get; set; }//加完字段,要做迁移
    }
}
